Optimal. Leaf size=63 \[ \frac {2 \Pi \left (2;\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (e+f x)}{a+b}}}{f \sqrt {a+b \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2886, 2884}
\begin {gather*} \frac {2 \sqrt {\frac {a+b \sin (e+f x)}{a+b}} \Pi \left (2;\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{f \sqrt {a+b \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2884
Rule 2886
Rubi steps
\begin {align*} \int \frac {\csc (e+f x)}{\sqrt {a+b \sin (e+f x)}} \, dx &=\frac {\sqrt {\frac {a+b \sin (e+f x)}{a+b}} \int \frac {\csc (e+f x)}{\sqrt {\frac {a}{a+b}+\frac {b \sin (e+f x)}{a+b}}} \, dx}{\sqrt {a+b \sin (e+f x)}}\\ &=\frac {2 \Pi \left (2;\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (e+f x)}{a+b}}}{f \sqrt {a+b \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 62, normalized size = 0.98 \begin {gather*} -\frac {2 \Pi \left (2;\frac {1}{4} (-2 e+\pi -2 f x)|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (e+f x)}{a+b}}}{f \sqrt {a+b \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.22, size = 135, normalized size = 2.14
method | result | size |
default | \(-\frac {2 \left (a -b \right ) \sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}\, \sqrt {-\frac {\left (\sin \left (f x +e \right )-1\right ) b}{a +b}}\, \sqrt {-\frac {\left (1+\sin \left (f x +e \right )\right ) b}{a -b}}\, \EllipticPi \left (\sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}, \frac {a -b}{a}, \sqrt {\frac {a -b}{a +b}}\right )}{a \cos \left (f x +e \right ) \sqrt {a +b \sin \left (f x +e \right )}\, f}\) | \(135\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\csc {\left (e + f x \right )}}{\sqrt {a + b \sin {\left (e + f x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sin \left (e+f\,x\right )\,\sqrt {a+b\,\sin \left (e+f\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________